'''
 设置全局的pytest的夹具（@pytest.fixture）
'''
import os
from time import sleep

import allure
import pytest
from utils.yml_Util import yml_Util


@pytest.fixture(scope='module', autouse=True)
def url_fixture():
    yml_util = yml_Util()
    url_info = yml_util.reader('./data/url.yaml')
    yield url_info
